<?php


namespace Staff\Form;

use Zend\Form\Form;

class StaffForm extends Form
{
    public function __construct($name = null, $options = array())
    {
        parent::__construct('staff');
        $this->add(array(
            'name' => 'staff_id',
            'type' => 'Text',
            'options' => array(
                'label' => '身份证号'
            )
        ));
        $this->add(array(
            'name' => 'staff_tel',
            'type' => 'Text',
            'options' => array(
                'label' => '联系方式'
            )
        ));
        $this->add(array(
            'name' => 'bank_name',
            'type' => 'Text',
            'options' => array(
                'label' => '单位'
            )
        ));
        $this->add(array(
            'name' => 'staff_name',
            'type' => 'Text',
            'options' => array(
                'label' => '姓名'
            )
        ));
        $this->add(array(
            'name' => 'submit',
            'type' => 'Submit',
            'options' => array(
                'value' => 'Go',
                'id' => 'submitbutton'
            )
        ));
    }
}